<!--------------------------------------------------------知识选择器--文件----------------------------------------------------------------------->
<section class="knowledge_section">
<div class="knowledgebase_select_move">
        <div class="knowledgebase_select_move_head" ng-if="ApiData.optype==1">
            <i class="iconfont">&#xe653;</i>复制到<div class="close" ng-click="close()">
                <span>+</span></div>
        </div>
        <div class="knowledgebase_select_move_head" ng-if="ApiData.optype==2">
            <i class="iconfont">&#xe653;</i>移动到<div class="close" ng-click="close()">
                <span>+</span></div>
        </div>
        <div class="knowledgebase_select_move_sousuo">
            <div class="input-group">
                <!-- /btn-group -->
                <input type="text" ng-keyup="fileEnter($event)" class="form-control ng-pristine ng-untouched ng-valid"
                    ng-model="paramsFile.searchText" placeholder="请输入搜索文件夹名称" >
                <span class="input-group-addon" ng-click="getFileList()"><i class="iconfont">&#xe621;</i></span>
            </div>
            <!--标签列表-->
            <div class="knowledgebase_select_move_qbbq" id="tagSerList" ng-if="!shareShow" style="right:130px;">
                    <div class="knowledgewjsxkkbiaoqianbody" id="knowledgewjsxkkbiaoqianbody" ng-mouseleave="tagScreenShow = false">			            
                         <!--呈现的内容-->
                        <div  ng-click="tagScreenShow = !tagScreenShow;">
                            <svg class="icon" aria-hidden="true"><use xlink:href="{{serTagObj.serTagColor}}"></use></svg>{{serTagObj.serTagName}}                    
                        </div>
                        <!--下拉列表内容-->
				        <ul class="dropdown-menu" style="border:0px"><!--隐藏时不好看-->
                            <li ng-repeat="litem in oldTagLable | orderBy:litem.index" ng-if="tagScreenShow" ng-click="tagCheckSer(litem)" >
                                <div class="knowledgebiaoqianyuan"><svg class="icon" aria-hidden="true"><use xlink:href="{{litem.tagcolor}}"></use></svg></div>
                                <div class="biaoqianname" ng-bind="litem.tagname"></div>                    
                            </li>                   
				        </ul>			
                </div>                               
            </div>         
            <!--基本筛选-->   
            <div class="knowledgebase_select_move_mcpx" id="sortSerList" style="right:220px;">
                <ul>  
                    <!--排序列表和图标-->
                    <li ng-click="updoptype(1,1)">
                        <!--<drop-down jisu-model="ddmovefile"></drop-down>-->
                        <div class="knowledgeright-header-right_paixu">                        
                            <div  ng-click="upDopSort = !upDopSort;">
                                <i class="iconfont" ng-if="serFileObj.serOrderBy == ''">&#xec4f;</i>
                                <i class="iconfont" ng-if="serFileObj.serOrderBy != ''">&#xe6b1;</i>
                                <span ng-bind="serFileObj.serName">{{serFileObj.ddname}}</span><span class="caret"></span>
                            </div>

                            <!--下拉列表内容-->
                            <ul class="knowledgeright-header-right_paixu dropdown-menu"  ng-show="upDopSort">
                                <li ng-click="upType(1)">
                                    文件名称</li>
                                <li ng-click="upType(3)">
                                    创建时间</li>
                                <li ng-click="upType(4)">
                                    修改时间</li>
                            </ul>
                    </div>
                    </li>
                </ul>
            </div>
            <div class="knowledgebase_select_move_newwjj" ng-click="createFolder()" ng-if="!shareShow">
                <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-xinjianwenjian"></use></svg>
                新建文件夹</div>
        </div>
        <div class="knowledgebase_select_move_titlehistory">
            <div class="knowledgebase_select_move_titlehistory_back">
                <a ng-click="checkAll()">全选</a>
                <!--<a href="javascript:" ng-click="backlevel()">返回上一级</a> |--> <a href="javascript:" ng-click="selectAllFile('0')">
                    文件主目录</a> 
                    <span ng-repeat="ckbinfo in crumbsFList" ng-if="crumbsFList.length <= 3">
                        <span class="knowledge_title_backjiange">></span> <span ng-click="fileCheckClick(ckbinfo)">
                            {{ckbinfo.fileName}} </span>
                   </span>
                   <span ng-if="crumbsFList.length > 3"><span>...</span>
                               <span class="knowledge_title_backjiange">></span> <span ng-click="fileCheckClick(crumbsFList[crumbsFList.length-2])">
                                    {{crumbsFList[crumbsFList.length-2].fileName}} </span><span class="knowledge_title_backjiange">
                                        ></span> <span ng-click="fileCheckClick(crumbsFList[crumbsFList.length-1])">{{crumbsFList[crumbsFList.length-1].fileName}}
                                        </span>
                        </span>
            </div>
        </div>
        <!--遍历数据-->
        <div class="knowledgebase_select_move_main" style="height:321px;">
            <ul class="knowledgebase_select_move_mainul">
                <!--添加selected为选中样式-->
                <li class="knowledgebase_select_move_thumbnail" ng-if="false" >
                    <div class="knowledgebase_select_move_thumbnailimg">
                        <img src="/images/fileicon/folder_56.png"></div>
                    <div class="knowledgebase_select_move_thumbnailtext">
                        文件主目录</div>
                    <div class="knowledgebase_select_checkbox">
                        <div class="liebiaocheck-box " ng-click="selcheck(kbinfo)">
                            <!--添加selected为选中样式-->
                            <span class="iconfont">&#xe67a;</span>
                        </div>
                    </div>
                </li>                                             
                <!-- 企业共享文件夹 start -->
                <li ng-click="selectShareFile(ShareFile)" class="knowledgebase_select_move_thumbnail" ng-if="crumbsFList.length==0&&userInfo.powerLV==3">                               
                    <div class="knowledgebase_select_move_thumbnailimg">
                        <img src="/images/fileicon/zhidu_56.png" class="knowledgeliebiaofengmian_img" /></div>
                    <div class="knowledgebase_select_move_liebiaoname">
                        <div class="knowledgebase_select_move_liebiaonamebody">
                            <div class="knowledgebase_select_move_liebiaonamemain">                                
                                    <!--标签图标，目前设计最多显示3个-->
                                    <div class="knowledgebiaoqianyuan">
                                    </div>
                                    <div class="knowledgeliebiaonamemain_text">
                                        企业共享文件夹</div>                                
                            </div>
                        </div>
                    </div>                     
                </li>
                <!-- 企业共享文件夹 end -->
                 <!-- 外部共享文件夹 start -->
                <li ng-click="selectOtherShareFile()" class="knowledgebase_select_move_thumbnail" ng-if="crumbsFList.length==0&&userInfo.powerLV==2">                               
                    <div class="knowledgebase_select_move_thumbnailimg">
                        <img src="/images/fileicon/zhidu_56.png" class="knowledgeliebiaofengmian_img" /></div>
                    <div class="knowledgebase_select_move_liebiaoname">
                        <div class="knowledgebase_select_move_liebiaonamebody">
                            <div class="knowledgebase_select_move_liebiaonamemain">                                
                                    <!--标签图标，目前设计最多显示3个-->
                                    <div class="knowledgebiaoqianyuan">
                                    </div>
                                    <div class="knowledgeliebiaonamemain_text">
                                        外部共享文件夹</div>                                
                            </div>
                        </div>
                    </div>                     
                </li>
                <!-- 外部共享文件夹 end -->

                <!--loading全局--> 
                <loading isloading="fileLoading"></loading>
                <div ng-if="fileList.length>0" >
                <li  class="knowledgebase_select_move_thumbnail"   ng-repeat="kbinfo in fileList" ng-click="fileCheckClick(kbinfo)" ng-class="{selected:kbinfo.isSel}"  style="height:130px;">
                    <div class="knowledgebase_select_move_thumbnailimg">
                      <!--文件夹对应的图标-->  
                      <img ng-if="kbinfo.fileType == 'folder'" ng-src="/images/fileicon/{{kbinfo.fileType}}_56.png"
                                        src="/images/fileicon/folder_56.png" onerror="javascript:this.src='/images/fileicon/folder_56.png'"
                                        class="knowledgeliebiaofengmian_img" />         
                      <!--上传中-->
                      <img ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'urls' && kbinfo.status == 2 " src="/images/fileicon/uping_56.gif" onerror="javascript:this.src='/images/fileicon/uping_56.gif'" class="knowledgeliebiaofengmian_img" />
                     <!--没有封面 没有上传完毕-->                                           
                     <img ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'urls' && (kbinfo.filecover == null || kbinfo.filecover.length==0) && kbinfo.status != 2 " ng-src="/images/fileicon/{{kbinfo.fileType}}_56.png" src="/images/fileicon/qita_56.png" onerror="javascript:this.src='/images/fileicon/qita_56.png'" class="knowledgeliebiaofengmian_img" />
                     <!--有封面 没有上传完毕-->
                    <img ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'urls' && kbinfo.filecover != null && kbinfo.filecover.length >0 && kbinfo.status != 2  " ng-src="{{isImg(kbinfo.filecover)?kbinfo.filecover:'/images/fileicon/'+kbinfo.fileType+'_56.png'}}" src="/images/fileicon/qita_56.png" onerror="javascript:this.src='/images/fileicon/qita_56.png'"
class="knowledgeliebiaofengmian_img" />
                     <!--网址-->
                    <img ng-if="kbinfo.fileType == 'urls'" src="/images/fileicon/urls_56.png" onerror="javascript:this.src='/images/fileicon/urls_56.png'"
                                        class="knowledgeliebiaofengmian_img" />
                    </div>
                    <!--文件名称标签--->
                    <div class="knowledgebase_select_move_liebiaoname">
                        <div class="knowledgebase_select_move_liebiaonamebody">
                            <div class="knowledgebase_select_move_liebiaonamemain">
                                <div class="knowledgebiaoqianyuan">
                                    <svg class="icon" aria-hidden="true" ng-repeat="taginfo in getFileTagList(kbinfo.tagids)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{{taginfo.tagcolor}}"></use></svg>
                                </div>
                                <div ng-class="getFileTagClass(kbinfo.tagids)" title="{{kbinfo.fileName}}"> {{kbinfo.fileName}}</div>
                            </div>
                        </div> 
                    </div>               
                    <!--文件选中-->                         
                    <div class="knowledgebase_select_checkbox" ng-if="kbinfo.fileType != 'folder'">
                        <div class="liebiaocheck-box ">
                           <!-- 添加selected为选中样式-->
                            <span class="iconfont">&#xe67a;</span>
                        </div>
                    </div>                    
                </li>       
                </div>  
                <!--新增文件的句柄-->
                <li class="knowledgebase_select_move_thumbnail" ng-click="allPlayUpload()" ng-if="!shareShow">                                
                    <div class="knowledgebase_select_move_thumbnailimg">
                        <img src="/images/fileicon/upadd_56.png" class="knowledgeliebiaofengmian_img" /></div>
                    <div class="knowledgebase_select_move_liebiaoname">
                        <div class="knowledgebase_select_move_liebiaonamebody">
                            <div class="knowledgebase_select_move_liebiaonamemain">                                
                                    <!--标签图标，目前设计最多显示3个-->
                                    <div class="knowledgebiaoqianyuan">
                                    </div>
                                    <div class="knowledgeliebiaonamemain_text" style="color:#ccc;">
                                        上传文件</div>                                
                            </div>
                        </div>
                    </div>                    
                 </li> 
                  <!--数据为空时-->
                <li class="knowledgebase_select_move_thumbnail knowledgebase_select_move_thumbnail_zanwuwenjian" ng-if="fileList.length==0" >
                    <div>
                        <img src="/images/train/filenull.png" />                
                        <center>此目录下没有文件夹</center>
                    </div>
                </li>       
                               
            </ul>
        </div>               
        <!--重命名弹框样式-->
        <div class="knowledgebase_select_move_body" ng-show="showCreateFolder" >
            <div class="knowledgebase_select_move_bj" style="background: rgba(0,0,0,0);" ng-click="closeFolder()">
            </div>
            <div class="knowledgexjwjcmm" style="border: 1px solid #ddd;border-radius: 3px;top:15%;">
                <div class="knowledgexjwjcmmbody">
                    <div class="knowledgexjwjcmmtitle">
                        新建文件夹
                        <div class="knowledgexjwjcmmtitleright" ng-if="isBtnLoad">
                            <btnloading isbtnload="isBtnLoad"></btnloading>
                        </div>
                        <div class="knowledgexjwjcmmtitleright" ng-if="!isBtnLoad" ng-click="saveFolder()">
                            <svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                            保存
                        </div>
                        <div class="close" ng-click="closeFolder()">
                            <span>+</span></div>
                    </div>
                    <ul class="knowledgexjwjcmmmain">
                        <li>
                            <input type="" name="" placeholder="请输入文件夹名称" class="form-control" ng-model="createFolderParams.fileName"
                                ng-keyup="saveFolderKeyUp($event)"></li>
                        <li>点击保存或回车(Enter)快捷新建文件夹，点击叉号取消新建。文件名称不能为空。</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
			</section>
